package com.hs.srm.admin.modules.inforecord.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * (PointPrice)实体类
 *
 * @author xwx
 * @since 2020-06-04 09:15:11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("point_price")
public class PointPriceEntity implements Serializable {
    private static final long serialVersionUID = 143977844887577682L;

    /**
     * 主键ID
     */
    @TableId(value = "pk_id", type = IdType.UUID)
    private String pkId;

    /**
    * 物料编码
    */
    @TableField("material_code")
    private String materialCode;

    /**
    * 物料描述
    */
    @TableField("material_desc")
    private String materialDesc;

    /**
    * 创建人
    */
    @TableField("create_by")
    private String createBy;

    /**
    * 创建时间
    */
    @TableField("create_date")
    @JSONField(format = "yyyy-MM-dd")
    private Date createDate;
}